package com.example.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class User4 {
    @Autowired
    private ListConfig listConfig;

    @PostConstruct
    public void post(){
        System.out.println(listConfig.getName());
    }
}
